package com.beamfield.dao.portal;

import com.beamfield.model.BeamContent;
import com.beamfield.model.BeamContentWithBLOBs;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

@Component
public interface BeamContentMapper {
    int deleteByPrimaryKey(Long id);

    int insert(BeamContentWithBLOBs record);

    int insertSelective(BeamContentWithBLOBs record);

    BeamContentWithBLOBs selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(BeamContentWithBLOBs record);

    int updateByPrimaryKeyWithBLOBs(BeamContentWithBLOBs record);

    int updateByPrimaryKey(BeamContent record);

    BeamContentWithBLOBs selectByBeamId(@Param("beam_id")Long beamId);
}